package com.aaa.os;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @fileName:OrderAApp
 * @description:
 * @author:忆尘
 * @createTime:2020/11/3 16:01
 * @version:1.0.0
 */
@SpringBootApplication
@MapperScan("com.aaa.os.mapper")
@EnableEurekaClient //开启eureka的客户端，只对注册中心是eureka有效
//@EnableDiscoveryClient  //开启发现客户端，该注解可以是人已注册中心
@EnableTransactionManagement //开启事务
public class OrderBApp {
    public static void main(String[] args) {
        SpringApplication.run(OrderBApp.class,args);
    }
}
